<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        var sum = 0;
        var counter=0;
        for(var i=1; i<=100; i++){
            if (i % 7==0){
                sum += i;
                // console.log(i)
                counter++;
            }

        }
        console.log(sum);
        console.log(counter);
    </script>
</head>
<body>


</body>
</html>